<template>
  <iframe
    :src="src"
    width="100%"
    frameborder="0"
  ></iframe>
</template>

<script>
export default {
  name: 'LayoutIframe',
  props: {
    src: {
      type: String,
      default: 'https://www.csdn.net/'
    }
  }
}
</script>

<style lang="scss" scoped>
iframe {
  height: calc(100vh - 110px);
}
</style>
